function Api () {
  this.vue
}
Api.prototype = {
  setVue: function (vue) {
    this.vue = vue
  },
  // 登录
  login: function (data) {
    const url = this.vue.$config.urls.get('user_login')
    return this.vue.$request.postByEquipmentId(url, data)
  }
}

export default new Api()
